package com.skwyb.form.utils;

public class PageUtil {
    public static int getStartIndex(int pageNum, int row) {
        pageNum = (pageNum <= 0) ? 1 : pageNum;
        row = (row < 0) ? 100 : row;
        return (pageNum - 1) * row;
    }
}
